package pl.skubicha.service;

import java.util.List;

import pl.skubicha.domain.CreditingForm;
import pl.skubicha.exceptions.CreditingFormNotFoundException;
import pl.skubicha.exceptions.EntityConstraintException;
import pl.skubicha.response.CreditingFormDTO;

public interface CreditingFormService {

	public List< CreditingForm > findAll();

	public CreditingForm findById( Integer id ) throws CreditingFormNotFoundException;

	public CreditingForm create( CreditingFormDTO created );

	public CreditingForm update( CreditingFormDTO updated ) throws CreditingFormNotFoundException;

	public CreditingForm delete( Integer id ) throws CreditingFormNotFoundException, EntityConstraintException;
}
